﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using PairingMatrix.ViewModel;

namespace PairingMatrix.View
{
    /// <summary>
    /// Interaction logic for ImageButton.xaml
    /// </summary>
    public partial class PriorityCounterControl : UserControl
    {
        public PriorityCounterControl()
        {
            InitializeComponent();
        }

        private void arrangeCards_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            var priorityCounterViewModel = (IPriorityCounterViewModel)DataContext;
            priorityCounterViewModel.ArrangeCardsCommand.Execute(null);
        }
    }
}
